package com.rerun.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rerun.entity.CollectionResume;
import com.rerun.mapper.CollectionResumeMapper;
import com.rerun.service.ICollectionResumeService;
import com.rerun.vo.park.ParkResumeViewVo;

import org.springframework.stereotype.Service;

/**
 * The type Collection service.
 *
 * @author qawine.
 * @version v1.0
 * @since 2017 /10/13 16:49
 */
@Service
public class CollectionResumeServiceImpl extends ServiceImpl<CollectionResumeMapper, CollectionResume>
		implements ICollectionResumeService {

	@Override
	public Page<ParkResumeViewVo> selectCollectionWatchListPage(Page<ParkResumeViewVo> page, String parkId) {
		page.setRecords(baseMapper.selectCollectionWatchListPage(page, parkId));
		return page;
	}

}
